home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 112 / EnigmaAmiga112CD.iso / dalla rivista / awnpipe / awnp / awnp-docs / bitmap.doc < prev    next >
Text File  |  2000-05-14  |  2KB  |  45 lines

  1. BitMap parameters
  2. -------------------
  3.  
  4. The bitmap keyword does not produce a gadget. It creates an image to be used later. Up to 10 images can be predefined, the last one defined is the first one used. Last In First Out.
  5.  
  6. FileName='path:file' (fn)
  7.  
  8.  The file to read and produce an image from using datatypes.
  9.  
  10. selectedimage='path:file' (si)
  11.  
  12.  The file to read and produce the selected image from using datatypes.
  13.  
  14. trans
  15.  
  16. Make the image background transparent
  17. (if the associated image and datatype allows this).
  18.  
  19. Part="x|y|wide|high|offsetx|offsety|buffer"
  20.  
  21. x,y              the left and top pixel of the first image.
  22. wide,high        the size of the images.
  23. offsetx,offsety  the offset to the selected state image.
  24. buffer           the buffer used to store the root bitmap. (0-4)
  25.                  ( buffer 0 is also used for button animations )
  26.  
  27.  Use portions of a bitmap for this image.
  28.  
  29. The image is only part of the root bitmap specified by x|y|wide|high, the offsets can be set to 0 to make the normal and selected state the same.
  30.  
  31. filename="" will cause this image to use the next available predefined bitmap
  32. for the root bitmap. (only with 'part')
  33.  
  34. Not including a file name at all will reuse an existing root bitmap. This allows you to only load one bitmap with a images needed. You can then reuse parts mutiple times. Also you only need to have a single image file for most applications rather than several small ones.(only with part)
  35.  
  36.  It is possible to redefine an image buffer. When this is done the previous contents of the image buffer are saved before the new bitmap is created. See the freeimage modify command for more information on handling image buffers.
  37.  
  38. Definition Reply
  39. -----------------
  40.  
  41.  When the image creation is successful the pipe replies with
  42.  
  43. 'ok BITMAP_width BITMAP_height'
  44.  
  45.